WPFunnels\Rest\Controllers\TemplateLibraryController B

Total Complexity 94
Dependencies 4
Dependents 1
Total lines 570
Lines of code 342
Logical lines of code 153
Comment lines 140
Methods 15
Properties 6

Methods 15

Method Rating Maintainability Complexity Lines of code
get_funnels()
C
32 29 103
get_step()
B
43 16 48
get_template_type_id()
A
45 13 42
get_funnel()
A
46 8 42
remote_get()
S
55 5 19
get_remote_funnel_api_url()
S
67 3 8
get_remote_funnel_categories_api_url()
S
67 3 8
get_remote_funnel_steps_api_url()
S
67 3 8
get_all_templates_api_url()
S
67 3 8
get_templates()
S
66 3 7
register_routes()
S
55 1 24
update_items_permissions_check()
S
67 2 7
get_items_permissions_check()
S
69 2 6
get_funnels_data()
S
66 2 8
prepare_item_for_response()
S
75 1 4